home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2000 June / Internet Magazine June 2000.iso / pc / software / windows / building / wirefusion / html / ex7 / bob10.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-01-09  |  789 b   |  40 lines

  1. import java.awt.Event;
  2. import java.io.DataInputStream;
  3.  
  4. public class bob10 extends bob {
  5.    public double value;
  6.  
  7.    public bob10(double var1) {
  8.       this.value = var1;
  9.    }
  10.  
  11.    public bob10() {
  12.    }
  13.  
  14.    // $FF: renamed from: rd (java.io.DataInputStream) void
  15.    public void method_0(DataInputStream var1) {
  16.       try {
  17.          this.value = var1.readDouble();
  18.       } catch (Exception var3) {
  19.       }
  20.  
  21.    }
  22.  
  23.    // $FF: renamed from: he (java.awt.Event) void
  24.    public void method_1(Event var1) {
  25.       if (var1.id == 1) {
  26.          this.value = ((bob10)var1.arg).value;
  27.          ((bob)this).ce(this, 2);
  28.       } else if (var1.id == 2) {
  29.          ((bob)this).ce(this, 1);
  30.       } else if (var1.id == 3) {
  31.          try {
  32.             this.value = new Double(((bob12)var1.arg).value);
  33.             ((bob)this).ce(this, 2);
  34.          } catch (Exception var3) {
  35.          }
  36.       }
  37.  
  38.    }
  39. }
  40.